package com.base.common.http.constant;

public class SocketConstant {

    /**
     * Socket 连接类型：[文件发送:CONNTYPE_SOCKET_FILE_TRANSFER]
     */
    public static final String CONNTYPE_FILE = "CONNTYPE_SOCKET_FILE_TRANSFER";

    /**
     *  Socket Handler 类型 HTTP Handler [SOCKET_HANDLER_TYPE_HTTP:1]
     */
    public static final int SOCKET_HANDLER_TYPE_HTTP = 1;
    /**
     *  Socket Handler 类型 文件传输 Handler [SOCKET_HANDLER_TYPE_FILE:2]
     */
    public static final int SOCKET_HANDLER_TYPE_FILE = 2;

    /**
     * 默认 HTTP 端口号
     */
    public static final int HTTP_PORT = 9999;
    /**
     * 默认 Socket 端口号 （用于 Socket 文件传输）
     */
    public static final int SOCKET_PORT = 9998;
}
